package net.ericaro.neojavagen.blocks;

/**
 * <b>AssertWithoutMessage</b> ::= "assert" <{@link net .ericaro .neojavagen .expressions .Expression Expression}> ";"
 * 
 * @author eric@ericaro.net
 */
public class AssertWithoutMessage extends net.ericaro.neojavagen.JavaPartComposition {
	private net.ericaro.neojavagen.expressions.Expression expression;

	public AssertWithoutMessage(net.ericaro.neojavagen.expressions.Expression expression) {
		super();
		this.expression = expression;
	}

	public net.ericaro.neojavagen.expressions.Expression getExpression() {
		return expression;
	}

	public void setExpression(net.ericaro.neojavagen.expressions.Expression expression) {
		this.expression = expression;
	}

	@Override
	public java.lang.String toString() {
		return print("assert", expression, ";");
	}
}
